﻿using System;

namespace BTKERP.Model
{
    #region Supplier
    /// <summary>
    /// This object represents the properties and methods of a Supplier.
    /// </summary>
    [Serializable]
    public class Supplier
    {
        protected Guid _id;
        protected string _name = String.Empty;
        protected string _address1 = String.Empty;
        protected string _address2 = String.Empty;
        protected string _address3 = String.Empty;
        protected DateTime _createdOn;
        protected string _createdBy = String.Empty;
        protected DateTime _updatedOn;
        protected string _updatedBy = String.Empty;
        protected bool _isDeleted;

        public Supplier()
        {
        }

        #region Public Properties
        public Guid Id
        {
            get { return _id; }
            set { _id = value; }
        }

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        public string Address1
        {
            get { return _address1; }
            set { _address1 = value; }
        }

        public string Address2
        {
            get { return _address2; }
            set { _address2 = value; }
        }

        public string Address3
        {
            get { return _address3; }
            set { _address3 = value; }
        }

        public DateTime CreatedOn
        {
            get { return _createdOn; }
            set { _createdOn = value; }
        }

        public string CreatedBy
        {
            get { return _createdBy; }
            set { _createdBy = value; }
        }

        public DateTime UpdatedOn
        {
            get { return _updatedOn; }
            set { _updatedOn = value; }
        }

        public string UpdatedBy
        {
            get { return _updatedBy; }
            set { _updatedBy = value; }
        }

        public bool IsDeleted
        {
            get { return _isDeleted; }
            set { _isDeleted = value; }
        }
        #endregion

    }
    #endregion
}
